// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL     : http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_penerimaan.php?wsdl
//  >Import : http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_penerimaan.php?wsdl>0
// Encoding : ISO-8859-1
// Version  : 1.0
// (1/1/2012 6:12:42 PM - - $Rev: 28374 $)
// ************************************************************************ //

unit soap_sis_entry_jurnal_penerimaan;

interface

uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;

type

  // ************************************************************************ //
  // The following types, referred to in the WSDL document are not being represented
  // in this file. They are either aliases[@] of other types represented or were referred
  // to but never[!] declared in the document. The types from the latter category
  // typically map to predefined/known XML or Embarcadero types; however, they could also 
  // indicate incorrect WSDL documents that failed to declare or import a schema type.
  // ************************************************************************ //
  // !:string          - "http://www.w3.org/2001/XMLSchema"[Gbl]
  // !:integer         - "http://www.w3.org/2001/XMLSchema"[Gbl]
  // !:dateTime        - "http://www.w3.org/2001/XMLSchema"[Gbl]
  // !:float           - "http://www.w3.org/2001/XMLSchema"[Gbl]

  TInfoServer          = class;                 { "http://localhost"[GblCplx] }
  TDataJurnalPenerimaanInputRow = class;        { "http://localhost"[GblCplx] }



  // ************************************************************************ //
  // XML       : TInfoServer, global, <complexType>
  // Namespace : http://localhost
  // ************************************************************************ //
  TInfoServer = class(TRemotable)
  private
    Fserver_host: string;
    Fserver_database: string;
    Fserver_username: string;
    Fserver_password: string;
  published
    property server_host:     string  read Fserver_host write Fserver_host;
    property server_database: string  read Fserver_database write Fserver_database;
    property server_username: string  read Fserver_username write Fserver_username;
    property server_password: string  read Fserver_password write Fserver_password;
  end;



  // ************************************************************************ //
  // XML       : TDataJurnalPenerimaanInputRow, global, <complexType>
  // Namespace : http://localhost
  // ************************************************************************ //
  TDataJurnalPenerimaanInputRow = class(TRemotable)
  private
    FID: Int64;
    FUSER_ID: Int64;
    FPENERIMAAN_JENIS: string;
    FPENERIMAAN_TGL: TXSDateTime;
    FPENERIMAAN_NILAI: Single;
    FPENERIMAAN_KETERANGAN: string;
  public
    destructor Destroy; override;
  published
    property ID:                    Int64        read FID write FID;
    property USER_ID:               Int64        read FUSER_ID write FUSER_ID;
    property PENERIMAAN_JENIS:      string       read FPENERIMAAN_JENIS write FPENERIMAAN_JENIS;
    property PENERIMAAN_TGL:        TXSDateTime  read FPENERIMAAN_TGL write FPENERIMAAN_TGL;
    property PENERIMAAN_NILAI:      Single       read FPENERIMAAN_NILAI write FPENERIMAAN_NILAI;
    property PENERIMAAN_KETERANGAN: string       read FPENERIMAAN_KETERANGAN write FPENERIMAAN_KETERANGAN;
  end;

  TDataJurnalPenerimaanInput = array of TDataJurnalPenerimaanInputRow;   { "http://localhost"[GblCplx] }

  // ************************************************************************ //
  // Namespace : http://localhost/
  // soapAction: http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_penerimaan.php/SISWA_SIMPAN_JURNALPENERIMAAN_DATASET
  // transport : http://schemas.xmlsoap.org/soap/http
  // style     : rpc
  // binding   : SERVICE_ENTRY_SISWA_JURNALPENERIMAANBinding
  // service   : SERVICE_ENTRY_SISWA_JURNALPENERIMAAN
  // port      : SERVICE_ENTRY_SISWA_JURNALPENERIMAANPort
  // URL       : http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_penerimaan.php
  // ************************************************************************ //
  SERVICE_ENTRY_SISWA_JURNALPENERIMAANPortType = interface(IInvokable)
  ['{97EE9E9E-CA8B-DE28-B52F-12AE8BCC8849}']
    function  SISWA_SIMPAN_JURNALPENERIMAAN_DATASET(const connection_string: TInfoServer; const daftarjurnalpenerimaan: TDataJurnalPenerimaanInput): string; stdcall;
  end;

function GetSERVICE_ENTRY_SISWA_JURNALPENERIMAANPortType(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): SERVICE_ENTRY_SISWA_JURNALPENERIMAANPortType;


implementation
  uses SysUtils;

function GetSERVICE_ENTRY_SISWA_JURNALPENERIMAANPortType(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): SERVICE_ENTRY_SISWA_JURNALPENERIMAANPortType;
const
  defWSDL = 'http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_penerimaan.php?wsdl';
  defURL  = 'http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_penerimaan.php';
  defSvc  = 'SERVICE_ENTRY_SISWA_JURNALPENERIMAAN';
  defPrt  = 'SERVICE_ENTRY_SISWA_JURNALPENERIMAANPort';
var
  RIO: THTTPRIO;
begin
  Result := nil;
  if (Addr = '') then
  begin
    if UseWSDL then
      Addr := defWSDL
    else
      Addr := defURL;
  end;
  if HTTPRIO = nil then
    RIO := THTTPRIO.Create(nil)
  else
    RIO := HTTPRIO;
  try
    Result := (RIO as SERVICE_ENTRY_SISWA_JURNALPENERIMAANPortType);
    if UseWSDL then
    begin
      RIO.WSDLLocation := Addr;
      RIO.Service := defSvc;
      RIO.Port := defPrt;
    end else
      RIO.URL := Addr;
  finally
    if (Result = nil) and (HTTPRIO = nil) then
      RIO.Free;
  end;
end;


destructor TDataJurnalPenerimaanInputRow.Destroy;
begin
  SysUtils.FreeAndNil(FPENERIMAAN_TGL);
  inherited Destroy;
end;

initialization
  InvRegistry.RegisterInterface(TypeInfo(SERVICE_ENTRY_SISWA_JURNALPENERIMAANPortType), 'http://localhost/', 'ISO-8859-1');
  InvRegistry.RegisterDefaultSOAPAction(TypeInfo(SERVICE_ENTRY_SISWA_JURNALPENERIMAANPortType), 'http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_penerimaan.php/SISWA_SIMPAN_JURNALPENERIMAAN_DATASET');
  RemClassRegistry.RegisterXSClass(TInfoServer, 'http://localhost', 'TInfoServer');
  RemClassRegistry.RegisterXSClass(TDataJurnalPenerimaanInputRow, 'http://localhost', 'TDataJurnalPenerimaanInputRow');
  RemClassRegistry.RegisterXSInfo(TypeInfo(TDataJurnalPenerimaanInput), 'http://localhost', 'TDataJurnalPenerimaanInput');

end.